package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class F_OlvidoPass extends org.apache.struts.action.ActionForm {
    
    
    public F_OlvidoPass() {
        super();
        correo = "";
        login = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        correo = "";
        login = "";

    }

    public static F_OlvidoPass clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        F_OlvidoPass fF_OlvidoPass = (F_OlvidoPass) sess.getAttribute("F_OlvidoPass");
        if (fF_OlvidoPass == null) {
            fF_OlvidoPass = new F_OlvidoPass();
            sess.setAttribute("F_OlvidoPass", fF_OlvidoPass);
        } else {
            fF_OlvidoPass.reset(mapping, request);
        }
        return fF_OlvidoPass;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

    /**
     * Holds value of property correo.
     */
    private String correo;

    /**
     * Getter for property correo.
     * @return Value of property correo.
     */
    public String getCorreo() {
        return this.correo;
    }

    /**
     * Setter for property correo.
     * @param correo New value of property correo.
     */
    public void setCorreo(String correo) {
        this.correo = correo;
    }

    /**
     * Holds value of property login.
     */
    private String login;

    /**
     * Getter for property login.
     * @return Value of property login.
     */
    public String getLogin() {
        return this.login;
    }

    /**
     * Setter for property login.
     * @param login New value of property login.
     */
    public void setLogin(String login) {
        this.login = login;
    }




}